﻿@model CalligraphyWeb.Models.UserManager

<article id="profile" class="span12">
<h3>Edit Profile</h3>
<div class="inner-1">
    @using (Html.BeginForm("ChangeProfile", "Account")) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <legend></legend>
        <div>
            <label class="span3 lmargin0">Login Name</label>
            <label class="span8 lmargin0 semi-bold orange-text ">
                @Html.DisplayTextFor(m => m.ProfileModel.username) 
                  
            </label>   
            <br /> 
        </div>
        <br />
        <div>
            <label class="span3 lmargin0 ">Email</label>
            <label class="span8 lmargin0 semi-bold orange-text ">
                @Html.DisplayTextFor(m => m.ProfileModel.email) 
                   
            </label> 
            <br />  
        </div>
        <br />
        <div>
            <label class="span3 lmargin0">First Name</label>
            <label class="span8 lmargin0">
                @Html.TextBoxFor(m => m.ProfileModel.firstName)
                <br />
                @Html.ValidationMessageFor(m => m.ProfileModel.firstName)
            </label>              
        </div>
       <div>
            <label class="span3 lmargin0">Last Name</label>
            <label class="span8 lmargin0">
                @Html.TextBoxFor(m => m.ProfileModel.lastName)
                <br />
                @Html.ValidationMessageFor(m => m.ProfileModel.lastName)
            </label>              

        </div>
        <div>
            <label class="span3 lmargin0">Birthday</label>
            <label class="span8 lmargin0">
                @Html.EditorFor(m => m.ProfileModel.birthday, new { @class = "datepicker" })
                <br />
                @Html.ValidationMessageFor(m => m.ProfileModel.birthday)
            </label>              
        </div>
        <div>
            <label class="span3 lmargin0">Address</label>
            <label class="span8 lmargin0">
                @Html.TextBoxFor(m => m.ProfileModel.address)
                <br />
                @Html.ValidationMessageFor(m => m.ProfileModel.address)
            </label>              
        </div>
        <div>
            <label class="span3 lmargin0">City</label>
            <label class="span8 lmargin0">
                @Html.TextBoxFor(m => m.ProfileModel.city)
                <br />
                @Html.ValidationMessageFor(m => m.ProfileModel.city)
            </label>              
        </div>
        <div class="clear"></div>
        <div class="buttons-wrapper">
            <input type="submit" value="Save Changes" class="btn btn-1" /></div>
    </fieldset>
}
</div>
                
</article>

